Skip to main content

All Questions

0votes
0answers
44views

Not able to modify inode metadata

I am working on a ext4 file-system tool that aims to delete files such that they are not recoverable later on. My goal is to clear the inode metadata of a deleted file, but despite my efforts, the ...
Dhruv's user avatar
2votes
1answer
99views

Why does inode usage go from 1% to 100% on a single file creation?

Inode usage go from 1 to 100% on a single file creation in a raid array on Debian. First, clean boot, then: sudo cryptsetup luksOpen /dev/RaidVG/LVMVol CVol sudo mount /dev/mapper/CVol /mnt/raid/ ...
Alicya Ambre's user avatar
0votes
1answer
101views

Determine bytes per inode ratio of existing ext4 filesystem

I created a filesystem following this guide: https://wiki.archlinux.org/title/Ext4#Create_a_new_ext4_filesystem However it looks like I made a mistake because the ratio for /dev/sdc doesn't add up: ...
Atomic Tripod's user avatar
0votes
1answer
206views

Inode limit reached with free space available

Let's assume I was very unlucky and ran out of inodes in my ext4 filesystem but left with enough free space. Inode usage is 100%, but it has 50% disk free space. How can I resolve it?
firdavs's user avatar
1vote
2answers
93views

Each file gets one inode block

A question was given to us by a lecturer: How many data blocks are needed to collect all the data in an EXT4 file system using inodes if the file size is 54 KB and there is a block size of 4KB. ...
Matej Vesel's user avatar
2votes
0answers
723views

Inode size 512 and 1024 bytes functions in ext4 and its pros and cons? (Need a official reference)

When i first trying and installing openSUSE tumbleweed, i see when formatting a ext4 i can choose the inode size 128, 256, 512, or 1024 bytes. Typically it is 256. I am thinking a larger inode size ...
hateindirection's user avatar
1vote
1answer
603views

Ext4 "unused inodes" "free inodes" diffrence?

When I use the dumpe2fs command to look at the Block Group of the ext4 filesystem, I see "free inodes" and "unused inodes". I want to know the difference between them ? Why do they ...
Samuel's user avatar
0votes
1answer
301views

How does "Inodes per group" and "lazy_itable_init" flag relate to the "Inode count" value in an ext4 filesystem?

I am trying to root cause a customer case where 2 Identical drives, formatted with the same command, led to a difference of ~55GB in total disk space due to additional Inode overhead. I want to ...
RuMAN S's user avatar
0votes
1answer
30views

Changing rights and owner in one command to safe resources

I have a backup script with the following function: function change_rights() { chown -R ${OWNER}:${GROUP} ${DIR} find ${DIR} -type f -exec chmod 0640 {} \; find ${DIR} -type d -exec chmod ...
manifestor's user avatar
1vote
1answer
476views

What‘s different between inode->i_rwsem and i_flctx?

When I trace the function graph when calling write(), I find that within function ext4_file_write_iter() it locks the inode->i_rwsem by calling inode_lock(inode) at the beginning. After that call ...
user503990's user avatar
2votes
1answer
698views

inode, list block pointers

The inode structure of some filesystems includes a list of pointers to the blocks used to store the file contents. This list should exist for ext2/3/4, as specified in the first comment to this ...
BowPark's user avatar
  • 5,085
-1votes
1answer
3kviews

What does upper/lower bits mean?

I'm learning a bit about Ext4 file system here. In the first table on this link they are describing fields of the inode. Each field entry has an: offset size name description In the description field ...
Keenan's user avatar
-2votes
1answer
2kviews

What is the difference between "dentry" and "inode table" in Linux FS? [duplicate]

Are dentries and inode table same thing? If not what is the purpose of each and where are they stored? How does the filesystem exactly work specifically "ext4" or "xfs"?
Rohan Hasabnis's user avatar
3votes
2answers
3kviews

How do inode numbers from ls -i relate to inodes on disk

I'm trying to understand how inode numbers (as displayed by ls -i) work with ext4 partitions. I'm trying to understand whether they are a construct of the linux kernel and mapped to inodes on disk, ...
Philip Couling's user avatar
5votes
4answers
5kviews

How come that inodes of directories store filenames in ext4 filesystem?

A directory inode isn't substantially different from that of a regular file's inode, what I comprehend from Ext4 Disk Layout is that: Directory Entries: Therefore, it is more accurate to say ...
direprobs's user avatar

153050per page
close